<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>26_CSS3-新增边框-圆角案例</title>
        <style>
            .outer {
                width: 400px;
                height: 400px;
                overflow: hidden;
            }


            .item {
                float: left;
                width: 200px;
                height: 200px;
            }

            .item1 {
                background-color: red;
                border-radius: 0 200px 0 200px;
            }
            
            .item2 {
                background-color: aqua;
                border-radius: 200px 0 200px 0;
            }

            .item3 {
                background-color: yellowgreen;
                border-radius: 200px 0 200px 0;
            }

            .item4 {
                background-color: tomato;
                border-radius: 0 200px 0 200px;
            }
        </style>
    </head>
    <body>
        <div class="outer">
            <div class="item item1"></div>
            <div class="item item2"></div>
            <div class="item item3"></div>
            <div class="item item4"></div>
        </div>
    </body>
</html>